package com.cyq.day05;

public class ClassWork01 {
    public static void main(String[] args) {
        int[] arr1 = {10, 20, 30, 40, 50, 60};
        int[] arr2 = new int[arr1.length + 1];
        for (int i = 0; i < arr1.length; i++) {
            arr2[i] = arr1[i];
        }
        arr2[arr2.length - 1] = 70;
        for (int a :
                arr2) {
            System.out.print(a + " ");
        }
    }
}
